package cn.jumper.protection.exception;


import cn.jumper.protection.constant.ResultCode;

/**
 * @description: 异常处理
 * @author: jumper Hou
 * @create: 2023-4-6 15:13:46
 **/

public class CommonException extends Exception {
    public CommonException(String context) {
        super(context);
    }

    public CommonException(ResultCode context) {
        super(context.message());
    }
}
